<%--
  Created by IntelliJ IDEA.
  User: Shisanyang
  Date: 2020/1/12
  Time: 20:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title> <fmt:message key="welcomeinfo"/></title>
</head>
<body>
Language:
<a href="?lang=zh_CN">中文</a>    
<a href="?lang=en">英文</a>

<h1>
    <fmt:message key="welcomeinfo"/>
</h1>
<form action="">
    <fmt:message key="username"/>:<input /><br/>
    <fmt:message key="password"/>:<input /><br/>
    <input type="submit" value='<fmt:message key="loginBtn"/>'/>
</form>
当前语言: ${pageContext.response.locale }
</body>
</html>
